from django.urls import re_path

from . import views

urlpatterns = [
    re_path(r'^api/v1.0/areas$', views.Country.as_view()),
    re_path(r'^api/v1.0/user/houses$', views.ShowhouseView.as_view()),
    re_path(r'^api/v1.0/houses$', views.HousesView.as_view()),
    re_path(r'^api/v1.0/houses/(?P<house_id>\d+)/images$', views.HouseImagesView.as_view()),
    re_path(r'^api/v1.0/houses/index$', views.ShowallhouseView.as_view()),
    re_path(r'^api/v1.0/houses/(?P<house_id>\d+)$', views.HouseInfoView.as_view()),

]
